package top.szhome.develop.qry;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import top.szhome.framework.core.tools.annotation.db.Where;
import top.szhome.framework.core.tools.constant.Condition;

import java.time.LocalDateTime;
import java.util.List;
import java.io.Serializable;

/**
 * 表表关系数据查询对象
 *
 * @author 玉诚开发工具
 * @date 2023/09/11
 */
@Data
@Schema(description = "部门数据查询对象")
public class TableRelationQry implements Serializable {
  
    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */  
    @Schema(description = "ID")
    @Where(Condition.EQ)
    private Long id;

    /**
     * 源表
     */  
    @Schema(description = "源表")
    @Where(Condition.EQ)
    private Long sourceTable;

    /**
     * 源列
     */  
    @Schema(description = "源列")
    @Where(Condition.EQ)
    private Long sourceColumn;

    /**
     * 源表
     */  
    @Schema(description = "源表")
    @Where(Condition.EQ)
    private Long targetTable;

    /**
     * 源表
     */  
    @Schema(description = "源表")
    @Where(Condition.EQ)
    private Long targetColumn;

    /**
     * 关系
     */  
    @Schema(description = "关系")
    @Where(Condition.EQ)
    private String relationType;

    /**
     * 创建人
     */  
    @Schema(description = "创建人")
    @Where(Condition.EQ)
    private String createUser;

    /**
     * 创建时间
     */  
    @Schema(description = "创建时间")
    @Where(Condition.EQ)
    private LocalDateTime createTime;

    /**
     * 修改人
     */  
    @Schema(description = "修改人")
    @Where(Condition.EQ)
    private String updateUser;

    /**
     * 修改时间
     */  
    @Schema(description = "修改时间")
    @Where(Condition.EQ)
    private LocalDateTime updateTime;

}